<script setup>
  import { useCountStore } from '@/store/count.js'
  const count = useCountStore()
  console.log(count.count)
</script>
<template>
  {{ count.count }}
  <button @click="count.addCount">++</button>
  <button @click="count.cutCount">--</button>
</template>

<style></style>
